package pw_date

import (
	"time"
)

type PW_Now struct {
	meta time.Time
}

func PW_Now_New() *PW_Now {
	return &PW_Now{meta: time.Now()}
}

func (n *PW_Now) NormalFmt() string {
	return n.meta.Format("2006-01-02 15:04:05")
}

func (n *PW_Now) StrFmt() string {
	return n.meta.Format("20060102150405")
}

func (n *PW_Now) Timestamp() int64 {
	return n.meta.Unix()
}


